home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-04-03 | 16.2 KB | 363 lines | [TEXT/MPS ] |
- // MABuildTool.r
- // Copyright © 1986-96 by Apple Computer, Inc. All rights reserved.
-
- #ifndef __SYSTYPES_R__
- #include "SysTypes.r"
- #endif
-
- #ifndef __TYPES_R__
- #include "Types.r"
- #endif
-
- #if qPowerPC
- #include "CodeFragmentTypes.r"
- #endif
-
- #ifndef __MACAPPVERSION__
- #include "MacAppVersion.h"
- #endif
-
- #ifndef MW_Rez
- #if !qNoCode
- include $$Shell("ObjApp")"MABuildTool" 'CODE';
- #endif
- #endif
-
-
- resource 'vers' (1
- #if qNames
- , "App Version"
- #endif
- , purgeable) {
- MA_VERS_CODE,
- verUs,
- MA_SHORT_VERSION,
- MA_LONG_VERSION
- };
-
- include "CoreDefaults.rsrc" 'vers' (2); // part of MacApp
-
-
- #if qPowerPC
- resource 'cfrg' (0
- #if qNames
- , "Configuration Info"
- #endif
- ) {
- {
- kPowerPC,
- kFullLib,
- kNoVersionNum,
- kNoVersionNum,
- 0,
- 0,
- kIsApp,
- kOnDiskFlat,
- kZeroOffset,
- kWholeFork,
- "MABuildTool"
- }
- };
- #endif
-
- /* help text */
-
- resource 'STR#' (129,
- #if qNames
- "help text",
- #endif
- purgeable) {
- {
- "MABuild # MacApp Build System";
- "MABuild [option…] [file…] ≥ progress";
- " -Asm option… # Pass through options to Assembler";
- " -BuildFlags # Get the build flags for these options";
- " -BuildFolder… # Specify root object folder for this build";
- " -C option… # Pass through options to C compiler";
- " -CP compiler # Specify the C++ compiler to use:";
- " # MrC, MWC68K, MWCPPC, SCpp";
- " -CPlusPlus… # Pass through generic C++ compiler options";
- " -CreatorAndBundle option… # Pass through options to CreatorAndBundle tool";
- " -d name=(TRUE|FALSE) # Set compile time variable name in all compilers";
- " -E # Pass through -E to Make";
- " -Fat appname # Build a fat binary by adding the code and resources";
- " # from a 68K application file";
- " -FolderName # Get the folder name for these options";
- " -Help # Prints this list of options to stdout";
- " -Lib option… # Pass through options to Librarian";
- " -Link option… # Pass through options to Linker";
- " -Make option… # Pass through options to Make";
- " -MakeSYM option… # Pass through options to MakeSYM";
- " -MrC option… # Pass through options to Macintosh RISC C/C++ compiler";
- " -MWC68K option… # Pass through options to Metrowerks C/C++ 68K compiler";
- " -MWCPPC option… # Pass through options to Metrowerks C/C++ PPC compiler";
- " -MWLink68K option… # Pass through options to Metrowerks C/C++ 68K linker";
- " -MWLinkPPC option… # Pass through options to Metrowerks C/C++ PPC linker";
- " -PPCAsm option… # Pass through options to PPC Assembler";
- " -PPCLib option… # Pass through options to PPC Librarian";
- " -PPCLink option… # Pass through options to PPC Linker";
- " -R # Pass through -R to Make and write results of Make to stdout";
- " -RAMDisk name # Use a RAM Disk for pre-compiled headers";
- " -RenameFlag oldname newname # Rename separate object folders";
- " -Rez option… # Pass through options to Resource compiler";
- " -RSRC # Build only an application .rsrc file";
- " -S # Pass through -S to Make and write results of Make to stdout";
- " -SCpp option… # Pass through options to the Symantec C++ compiler";
- " -Symantec # Equivalent to -CP SCpp (for compatibility)";
- " -Version # Display the tool version";
- " -[No]Align # Longword align all code and data for speed";
- " -[No]Attachable # Support for attaching scripts to objects";
- " -[No]AutoBuild # Auto-build the MacApp libraries (and any others)";
- " -[No]Classic # Build for classic 68K runtime";
- " -[No]Container # OpenDoc container application";
- " -[No]CPlusLoad # Make the C++ compiler use load/dump files";
- " -[No]Debug # Turn on debugging and install debugging gear";
- " -[No]DebugMsg # Turn on extra debugging messages";
- " -[No]Drag # Include support for Drag & Drop";
- " -[No]Execute # Execute the results of Make";
- " -[No]ExpandEnvVars # Expand environment vars in AppName.MakeIt";
- " -[No]Fail # Stop executing after first failure";
- " -[No]Fast # Compile files in one batch (faster)";
- " -[No]GXPrinting # Include support for GX Printing";
- " -[No]GXViews # Include support for GX Views";
- " -[No]Inspector # Include hooks for the inspector";
- " -[No]LinkMap # Generate a link map in AppName.map";
- " -[No]LinkXRef # Generate a linker cross reference in AppName.xref";
- " -[No]MacApp # Build for use with MacApp";
- " -[No]MALibrary # Use library, not object files";
- " -[No]ModelCFM # Build for model CFM-68K support";
- " -[No]ModelFar # Build for model far support";
- " -[No]ModelFarCode # Build for model far code support";
- " -[No]ModelFarData # Build for model far data support";
- " -[No]Names # Include embedded debugging symbols";
- " -[No]NeedsColorQD # Build to require Color QuickDraw™";
- " -[No]NeedsFPU # Build to require a Floating point unit";
- " -[No]NeedsGX # Build to require a QuickDraw GX";
- " -[No]NeedsMC68020 # Build to require a 68020";
- " -[No]NeedsMC68030 # Build to require a 68030";
- " -[No]NeedsMC68040 # Build to require a 68040";
- " -[No]NeedsSystem7 # Build to require System 7.0 or better";
- " -[No]NeedsSystem7_5 # Build to require System 7.5 or better";
- " -[No]NeedsVU # Build for VU compatibility";
- " -[No]P # Show progress for the MABuild system";
- " -[No]Perform # Include performance monitor code";
- " -[No]PowerTalk # Include support for PowerTalk Mailers";
- " -[No]PP # Have all invoked tools show progress too";
- " -[No]RangeCheck # Force range/overflow checking";
- " -[No]Run # Run after build";
- " -[No]Save # Auto-save all open windows before starting build";
- " -[No]SeparateObjects # Keep separate object folders for each build variation";
- " -[No]SmallSym # Try to generate smaller symbol files (slow!)";
- " -[No]StatusOnly # Write results of Make to stdout";
- " -[No]Sym # Generate SADE-compatible symbol information";
- " -[No]T # Show elapsed time for the MABuild system";
- " -[No]TemplateViews # Include code to create views from templates";
- " -[No]theDebugger # Support Jasik's The Debugger";
- " -[No]TT # Have all invoked tools show elapsed time too";
- " -[No]UserAutoBuild # Auto-build user-specified libraries {MAUserAutoBuild}";
- " -[No]WriteTemplateViews # Include code to write view resources"
- }
- };
-
-
- resource 'STR#' (1000,
- #if qNames
- "RenameFlags",
- #endif
- purgeable) {
- {
- // "123456789 123456789 123456789 1", "123456789 123456789 1234567", // Folders only go to 27 chars on Macintosh!
- "S720AtDrPtTeClSC", "68020 Deluxe",
- "S720AtDrPtTefCfDClSC", "68020 Far Deluxe",
- "S720AtDrPtTefCfDM8", "MW68020 Deluxe",
- "S720AtDrPtTeSmClSC", "68020 Sym Deluxe",
- "S720AtDrPtTeSmfCfDClSC", "68020 Sym Far Deluxe",
- "S720AtDrPtTeSmfCfDM8", "MW68020 Sym Deluxe",
- "S720DrPtTeClSC", "68020 Drag Mail",
- "S720DrPtTefCfDClSC", "68020 Far Drag Mail",
- "S720DrPtTefCfDM8", "MW68020 Drag Mail",
- "S720DrPtTeSmClSC", "68020 Sym Drag Mail",
- "S720DrPtTeSmfCfDClSC", "68020 Sym Far Drag Mail",
- "S720DrPtTeSmfCfDM8", "MW68020 Sym Drag Mail",
- "S720FpAtDrPtTeClSC", "68020FP Deluxe",
- "S720FpAtDrPtTefCfDClSC", "68020FP Far Deluxe",
- "S720FpAtDrPtTefCfDM8", "MW68020FP Deluxe",
- "S720FpAtDrPtTeSmClSC", "68020FP Sym Deluxe",
- "S720FpAtDrPtTeSmfCfDClSC", "68020FP Sym Far Deluxe",
- "S720FpAtDrPtTeSmfCfDM8", "MW68020FP Sym Deluxe",
- "S720FpDrPtTeClSC", "68020FP Drag Mail",
- "S720FpDrPtTefCfDClSC", "68020FP Far Drag Mail",
- "S720FpDrPtTefCfDM8", "MW68020FP Drag Mail",
- "S720FpDrPtTeSmClSC", "68020FP Sym Drag Mail",
- "S720FpDrPtTeSmfCfDClSC", "68020FP Sym Far Drag Mail",
- "S720FpDrPtTeSmfCfDM8", "MW68020FP Sym Drag Mail",
- "S720FpNmAtDrPtTeSmClSC", "68020FP Names Deluxe",
- "S720FpNmAtDrPtTeSmfCfDClSC", "68020FP Names Far Deluxe",
- "S720FpNmAtDrPtTeSmfCfDM8", "MW68020FP Names Deluxe",
- "S720FpNmDbDmPeRaAtDrPtTeSmfCfDClSC", "68020FP Debug Far Deluxe",
- "S720FpNmDbDmPeRaDrPtTeSmfCfDClSC", "68020FP Debug Far Drag Mail",
- "S720FpNmDbDmPeRaTeSmfCfDClSC", "68020FP Debug Far",
- "S720FpNmDbDmRaAtDrPtTeSmfCfDM8", "MW68020FP Debug Deluxe",
- "S720FpNmDbDmRaDrPtTeSmfCfDM8", "MW68020FP Debug Drag Mail",
- "S720FpNmDbDmRaTeSmfCfDM8", "MW68020FP Debug",
- "S720FpNmDrPtTeSmClSC", "68020FP Names Drag Mail",
- "S720FpNmDrPtTeSmfCfDClSC", "68020FP Names Far Drag Mail",
- "S720FpNmDrPtTeSmfCfDM8", "MW68020FP Names Drag Mail",
- "S720FpNmTeSmClSC", "68020FP Names",
- "S720FpNmTeSmfCfDClSC", "68020FP Names Far",
- "S720FpNmTeSmfCfDM8", "MW68020FP Names",
- "S720FpTeClSC", "68020FP",
- "S720FpTefCfDClSC", "68020FP Far",
- "S720FpTefCfDM8", "MW68020FP",
- "S720FpTeSmClSC", "68020FP Sym",
- "S720FpTeSmfCfDClSC", "68020FP Sym Far",
- "S720FpTeSmfCfDM8", "MW68020FP Sym",
- "S720NmAtDrPtTeSmClSC", "68020 Names Deluxe",
- "S720NmAtDrPtTeSmfCfDClSC", "68020 Names Far Deluxe",
- "S720NmAtDrPtTeSmfCfDM8", "MW68020 Names Deluxe",
- "S720NmDbDmPeRaAtDrPtTeSmfCfDClSC", "68020 Debug Far Deluxe",
- "S720NmDbDmPeRaDrPtTeSmfCfDClSC", "68020 Debug Far Drag Mail",
- "S720NmDbDmPeRaTeSmfCfDClSC", "68020 Debug Far",
- "S720NmDbDmRaAtDrPtTeSmfCfDM8", "MW68020 Debug Deluxe",
- "S720NmDbDmRaDrPtTeSmfCfDM8", "MW68020 Debug Drag Mail",
- "S720NmDbDmRaTeSmfCfDM8", "MW68020 Debug",
- "S720NmDrPtTeSmClSC", "68020 Names Drag Mail",
- "S720NmDrPtTeSmfCfDClSC", "68020 Names Far Drag Mail",
- "S720NmDrPtTeSmfCfDM8", "MW68020 Names Drag Mail",
- "S720NmTeSmClSC", "68020 Names",
- "S720NmTeSmfCfDClSC", "68020 Names Far",
- "S720NmTeSmfCfDM8", "MW68020 Names",
- "S720TeClSC", "68020",
- "S720TefCfDClSC", "68020 Far",
- "S720TefCfDM8", "MW68020",
- "S720TeSmClSC", "68020 Sym",
- "S720TeSmfCfDClSC", "68020 Sym Far",
- "S720TeSmfCfDM8", "MW68020 Sym",
- "S730AtDrPtTeCFSC", "CFM68K Deluxe",
- "S730AtDrPtTeSmCFSC", "CFM68K Sym Deluxe",
- "S730DrPtTeCFSC", "CFM68K Drag Mail",
- "S730DrPtTeSmCFSC", "CFM68K Sym Drag Mail",
- "S730NmAtDrPtTeSmCFSC", "CFM68K Names Deluxe",
- "S730NmDrPtTeSmCFSC", "CFM68K Names Drag Mail",
- "S730NmTeSmCFSC", "CFM68K Names",
- "S730TeCFSC", "CFM68K",
- "S730TeSmCFSC", "CFM68K Sym",
- "S7AtDrPtTeClSC", "68K Deluxe",
- "S7AtDrPtTefCfDClSC", "68K Far Deluxe",
- "S7AtDrPtTefCfDM8", "MW68K Deluxe",
- "S7AtDrPtTeSmClSC", "68K Sym Deluxe",
- "S7AtDrPtTeSmfCfDClSC", "68K Sym Far Deluxe",
- "S7AtDrPtTeSmfCfDM8", "MW68K Sym Deluxe",
- "S7CqAtDrPtTeMr", "MrC Deluxe",
- "S7CqAtDrPtTeMW", "MWPPC Deluxe",
- "S7CqAtDrPtTeSmMr", "MrC Sym Deluxe",
- "S7CqAtDrPtTeSmMW", "MWPPC Sym Deluxe",
- "S7CqDbDmRaAtDrPtTeSmMr", "MrC Debug Deluxe",
- "S7CqDbDmRaAtDrPtTeSmMW", "MWPPC Debug Deluxe",
- "S7CqDbDmRaDrPtTeSmMr", "MrC Debug Drag Mail",
- "S7CqDbDmRaDrPtTeSmMW", "MWPPC Debug Drag Mail",
- "S7CqDbDmRaTeSmMr", "MrC Debug",
- "S7CqDbDmRaTeSmMW", "MWPPC Debug",
- "S7CqDrPtTeMr", "MrC Drag Mail",
- "S7CqDrPtTeMW", "MWPPC Drag Mail",
- "S7CqDrPtTeSmMr", "MrC Sym Drag Mail",
- "S7CqDrPtTeSmMW", "MWPPC Sym Drag Mail",
- "S7CqTeMr", "MrC",
- "S7CqTeMW", "MWPPC",
- "S7CqTeSmMr", "MrC Sym",
- "S7CqTeSmMW", "MWPPC Sym",
- "S7CqVuAtDrPtTeSmMr", "MrC Sym VU Deluxe",
- "S7CqVuAtDrPtTeSmMW", "MWPPC Sym VU Deluxe",
- "S7CqVuDbDmRaAtDrPtTeSmMr", "MrC Debug VU Deluxe",
- "S7CqVuDbDmRaAtDrPtTeSmMW", "MWPPC Debug VU Deluxe",
- "S7CqVuDbDmRaDrPtTeSmMr", "MrC Debug VU Drag Mail",
- "S7CqVuDbDmRaDrPtTeSmMW", "MWPPC Debug VU Drag Mail",
- "S7CqVuDbDmRaTeSmMr", "MrC Debug VU",
- "S7CqVuDbDmRaTeSmMW", "MWPPC Debug VU",
- "S7CqVuDrPtTeSmMr", "MrC Sym VU Drag Mail",
- "S7CqVuDrPtTeSmMW", "MWPPC Sym VU Drag Mail",
- "S7CqVuTeSmMr", "MrC Sym VU",
- "S7CqVuTeSmMW", "MWPPC Sym VU",
- "S7DrPtTeClSC", "68K Drag Mail",
- "S7DrPtTefCfDClSC", "68K Far Drag Mail",
- "S7DrPtTefCfDM8", "MW68K Drag Mail",
- "S7DrPtTeSmClSC", "68K Sym Drag Mail",
- "S7DrPtTeSmfCfDClSC", "68K Sym Far Drag Mail",
- "S7DrPtTeSmfCfDM8", "MW68K Sym Drag Mail",
- "S7NmAtDrPtTeSmClSC", "68K Names Deluxe",
- "S7NmAtDrPtTeSmfCfDClSC", "68K Names Far Deluxe",
- "S7NmAtDrPtTeSmfCfDM8", "MW68K Names Deluxe",
- "S7NmDbDmPeRaAtDrPtTeSmfCfDClSC", "68K Debug Far Deluxe",
- "S7NmDbDmPeRaDrPtTeSmfCfDClSC", "68K Debug Far Drag Mail",
- "S7NmDbDmPeRaTeSmfCfDClSC", "68K Debug Far",
- "S7NmDbDmRaAtDrPtTeSmfCfDM8", "MW68K Debug Deluxe",
- "S7NmDbDmRaDrPtTeSmfCfDM8", "MW68K Debug Drag Mail",
- "S7NmDbDmRaTeSmfCfDM8", "MW68K Debug",
- "S7NmDrPtTeSmClSC", "68K Names Drag Mail",
- "S7NmDrPtTeSmfCfDClSC", "68K Names Far Drag Mail",
- "S7NmDrPtTeSmfCfDM8", "MW68K Names Drag Mail",
- "S7NmTeSmClSC", "68K Names",
- "S7NmTeSmfCfDClSC", "68K Names Far",
- "S7NmTeSmfCfDM8", "MW68K Names",
- "S7TeClSC", "68K",
- "S7TefCfDClSC", "68K Far",
- "S7TefCfDM8", "MW68K",
- "S7TeSmClSC", "68K Sym",
- "S7TeSmfCfDClSC", "68K Sym Far",
- "S7TeSmfCfDM8", "MW68K Sym",
-
- // Obsolete names (CFront, PPCC, SC), conflicting options
- // "", "NoDebug NoTemplate NoSys7",
- // "Cq20FpNmDbDmPeRaTe", "Debug MacII+ NoSys7",
- // "Cq20FpNmDbDmPeRaTeSm", "Debug Sym MacII+ NoSys7",
- // "Cq20FpNmTe", "NoDebug Names MacII+ NoSys7",
- // "Cq20FpTe", "NoDebug MacII+ NoSys7",
- // "Cq20FpTeSm", "NoDebug Sym MacII+ NoSys7",
- // "NmDbDmPeRa", "Debug NoTemplate NoSys7",
- // "NmDbDmPeRaTe", "Debug Files NoSys7",
- // "NmDbDmPeRaTeSm", "Debug Sym NoSys7",
- // "NmTe", "NoDebug Names NoSys7",
- // "NmTeSm", "NoDebug Names Sym NoSys7",
- // "S7", "NoDebug NoTemplate",
- // "S730NmDbDmPeRaTeCFSC", "Debug CFM",
- // "S730NmDbDmPeRaTeSmCFSC", "Debug Sym CFM",
- // "S7Cq20FpNmDbDmPeRaTe", "Debug MacII+",
- // "S7Cq20FpNmDbDmPeRaTeSm", "Debug Sym MacII+",
- // "S7Cq20FpNmDbDmPeRaTeSmfCfDSC", "Debug Sym Far MacII+ SC",
- // "S7Cq20FpNmTe", "NoDebug Names MacII+",
- // "S7Cq20FpTe", "NoDebug MacII+",
- // "S7Cq20FpTefCfDSC", "NoDebug Sym Far MacII+ SC",
- // "S7Cq20FpTeSm", "NoDebug Sym MacII+",
- // "S7CqDbDmRaTeFT", "Debug PPC",
- // "S7CqDbDmRaTeMr", "Debug MrC",
- // "S7CqDbDmRaTeSmFT", "Debug Sym PPC",
- // "S7CqDrPtTeFT", "NoDebug Drag PTalk PPC",
- // "S7CqDrPtTeSmFT", "NoDebug Drag PTalk Sym PPC",
- // "S7CqNmTeSmFT", "NoDebug Names Sym PPC",
- // "S7CqNmTeSmMr", "NoDebug Names Sym MrC",
- // "S7CqTeFT", "NoDebug PPC",
- // "S7CqTeSmFT", "NoDebug Sym PPC",
- // "S7DrPtTe", "NoDebug Drag PTalk",
- // "S7DrPtTeSm", "NoDebug Drag PTalk Sym",
- // "S7DrPtTeSmfCfDSC", "NoDebug Sym Far Drag PTalk SC",
- // "S7DrPtTeSmSC", "NoDebug Drag PTalk Sym SC",
- // "S7NmDbDmPeRa", "Debug NoTemplate",
- // "S7NmDbDmPeRaTe", "Debug Files",
- // "S7NmDbDmPeRaTeSm", "Debug Sym",
- // "S7NmDbDmPeRaTeSmfCfD", "Debug Sym Far",
- // "S7NmDbDmPeRaTeSmfCfDSC", "Debug Sym Far SC",
- // "S7NmDbDmPeRaTeSmSC", "Debug Sym SC",
- // "S7NmTe", "NoDebug Names",
- // "S7NmTeSm", "NoDebug Names Sym",
- // "S7Te", "NoDebug Files",
- // "S7TefCfD", "NoDebug Far",
- // "S7TefCfDSC", "NoDebug Far SC",
- // "S7TeSC", "NoDebug SC",
- // "S7TeSm", "NoDebug Sym",
- // "S7TeSmfCfDSC", "NoDebug Sym Far SC",
- // "S7TeSmSC", "NoDebug Sym SC",
- // "Te", "NoDebug Files NoSys7",
- // "TeSm", "NoDebug Sym NoSys7",
- }
- };
-